const Mock = require("mockjs");

const Random = Mock.Random;

module.exports = [
  {
    url: "/api/userList",
    method: "get",
    response() {
      return {
        erron: 0,
        data: {
          // 生成模拟的随机中文名
          name: Random.cname(),
          name: Random.cname(),
          age: 20,
        },
      };
    },
  },
  {
    url: "/api/test",
    method: "get",
    response() {
      return {
        erron: 0,
        data: {
          // 生成模拟的随机中文名
          name: Random.cname(),
          age: 20,
        },
      };
    },
  },

];
